<h1>Navigation &gt; {if !empty($smarty.get.id)}Editing '{$item.name}'{else}Add New Item{/if}</h1>
<form action="index.php?mod=gcmsNav&amp;id={$smarty.get.id}" method="post">
<table border="0">
<tr><td>Name:</td><td><input type="text" name="name" value="{$item.name}" /></td></tr>
<tr><td>Parent:</td><td>{html_options options=$poptions selected=$item.parent name="parent"}</td></tr>
<tr><td>URL:</td><td><input type="text" name="link" value="{$item.link}" /></td></tr>
<tr><td colspan="2"><input type="submit" name="save" value="Save" /> <input type="submit" name="cancel" value="Cancel" /></td></tr>
</table>
</form>